home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / tcoop.arc / TCOOP2.ARC / SCRNSTY.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1991-10-26  |  1.3 KB  |  60 lines

  1. // Style definitions
  2.  
  3. #include "scrnsty.h"
  4.  
  5. char LineChars[4][10] = {
  6.    // Blank characters
  7.    {' ', ' ', ' ', ' ', ' ', ' ' , ' ' , ' ', ' ' , ' '},
  8.    // Single line characters
  9.    {0xda, 0xc0, 0xbf, 0xd9, 0xb4, 0xc3, 0xc1, 0xc2, 0xc4, 0xb3},
  10.    // Double line characters
  11.    {0xc9, 0xc8, 0xbb, 0xbc, 0xb4, 0xb9, 0xca, 0xcb, 0xcd, 0xba},
  12.    // Dashed line characters
  13.    {0xda, 0xc0, 0xbf, 0xd9, 0xb4, 0xc3, 0xc1, 0xc2, 0x2d, 0x7c}
  14. };
  15.  
  16. char barchars[2][6] = {
  17.     //sbar, sbut, upar, dnar, lfar, rtar 
  18.     { 0xb0, 0xb2, 0x18, 0x19, 0x1b, 0x1a },
  19.     { 0x20, 0x04, 0x1e, 0x1f, 0x11, 0x10 }
  20. };
  21.  
  22. // A set of predefined color packs
  23.  
  24. ColorPak BlueColors = {0x17, 0x1e, 0x3e, 0x5e, 0x1b};
  25. ColorPak CyanColors = {0x31, 0x30, 0x31, 0x63, 0x70};
  26. ColorPak RedColors  = {0x4c, 0x40, 0x4e, 0x74, 0x4e};
  27. ColorPak InvColors  = {0x70, 0x70, 0x70, 0x0f, 0x70};
  28. ColorPak MonoColors = {0x07, 0x0f, 0x0f, 0x70, 0x70};
  29. ColorPak ErrColors  = {0x4f, 0x4f, 0x40, 0x04, 0x40};
  30. ColorPak MsgColors  = {0x2f, 0x2f, 0x2e, 0x70, 0x2d};
  31. ColorPak GrphColors = {0xb8, 0x30, 0x31, 0x63, 0x70};
  32.  
  33. ColorPak DefColors = MonoColors;
  34.  
  35. int WithShadow = SEShadow;
  36. int WindowStyle = Swappable + Closeable + WithShadow +
  37.                   BorderPrompt + OutlineMove;
  38. int ButtonStyle = Swappable + WithShadow + BorderPrompt;
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.